math/big.decimal.mant (field)

69 uses

	math/big (current package)
		decimal.go#L28: 	mant []byte // mantissa ASCII digits, big-endian
		decimal.go#L34: 	if 0 <= i && i < len(d.mant) {
		decimal.go#L35: 		return d.mant[i]
		decimal.go#L58: 		x.mant = x.mant[:0]
		decimal.go#L91: 	x.mant = append(x.mant[:0], s[:n]...)
		decimal.go#L110: 	for n>>s == 0 && r < len(x.mant) {
		decimal.go#L111: 		ch := Word(x.mant[r])
		decimal.go#L117: 		x.mant = x.mant[:0]
		decimal.go#L129: 	for r < len(x.mant) {
		decimal.go#L130: 		ch := Word(x.mant[r])
		decimal.go#L134: 		x.mant[w] = byte(d + '0')
		decimal.go#L140: 	for n > 0 && w < len(x.mant) {
		decimal.go#L143: 		x.mant[w] = byte(d + '0')
		decimal.go#L147: 	x.mant = x.mant[:w] // the number may be shorter (e.g. 1024 >> 10)
		decimal.go#L153: 		x.mant = append(x.mant, byte(d+'0'))
		decimal.go#L161: 	if len(x.mant) == 0 {
		decimal.go#L169: 		buf = make([]byte, 0, 2+(-x.exp)+len(x.mant))
		decimal.go#L172: 		buf = append(buf, x.mant...)
		decimal.go#L174: 	case /* 0 < */ x.exp < len(x.mant):
		decimal.go#L176: 		buf = make([]byte, 0, 1+len(x.mant))
		decimal.go#L177: 		buf = append(buf, x.mant[:x.exp]...)
		decimal.go#L179: 		buf = append(buf, x.mant[x.exp:]...)
		decimal.go#L184: 		buf = append(buf, x.mant...)
		decimal.go#L185: 		buf = appendZeros(buf, x.exp-len(x.mant))
		decimal.go#L203: 	if x.mant[n] == '5' && n+1 == len(x.mant) {
		decimal.go#L205: 		return n > 0 && (x.mant[n-1]-'0')&1 != 0
		decimal.go#L208: 	return x.mant[n] >= '5'
		decimal.go#L215: 	if n < 0 || n >= len(x.mant) {
		decimal.go#L227: 	if n < 0 || n >= len(x.mant) {
		decimal.go#L233: 	for n > 0 && x.mant[n-1] >= '9' {
		decimal.go#L239: 		x.mant[0] = '1' // ok since len(x.mant) > n
		decimal.go#L240: 		x.mant = x.mant[:1]
		decimal.go#L246: 	x.mant[n-1]++
		decimal.go#L247: 	x.mant = x.mant[:n]
		decimal.go#L252: 	if n < 0 || n >= len(x.mant) {
		decimal.go#L255: 	x.mant = x.mant[:n]
		decimal.go#L262: 	i := len(x.mant)
		decimal.go#L263: 	for i > 0 && x.mant[i-1] == '0' {
		decimal.go#L266: 	x.mant = x.mant[:i]
		ftoa.go#L107: 			prec = len(d.mant) - 1
		ftoa.go#L109: 			prec = max(len(d.mant)-d.exp, 0)
		ftoa.go#L111: 			prec = len(d.mant)
		ftoa.go#L139: 		if eprec > len(d.mant) && len(d.mant) >= d.exp {
		ftoa.go#L140: 			eprec = len(d.mant)
		ftoa.go#L151: 			if prec > len(d.mant) {
		ftoa.go#L152: 				prec = len(d.mant)
		ftoa.go#L157: 			prec = len(d.mant)
		ftoa.go#L171: 	if len(d.mant) == 0 {
		ftoa.go#L214: 	for i, m := range d.mant {
		ftoa.go#L221: 		okdown := l != m || inclusive && i+1 == len(lower.mant)
		ftoa.go#L225: 		okup := m != u && (inclusive || m+1 < u || i+1 < len(upper.mant))
		ftoa.go#L247: 	if len(d.mant) > 0 {
		ftoa.go#L248: 		ch = d.mant[0]
		ftoa.go#L256: 		m := min(len(d.mant), prec+1)
		ftoa.go#L258: 			buf = append(buf, d.mant[i:m]...)
		ftoa.go#L269: 	if len(d.mant) > 0 {
		ftoa.go#L291: 		m := min(len(d.mant), d.exp)
		ftoa.go#L292: 		buf = append(buf, d.mant[:m]...)